/*
    Copyright 2009 Barnet Wagman

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 */

package ot;


/** A <tt>Context</tt> represents a specific type of object store.  Currently
 *  <i>JObjectTree</i> supports two contexts: a local file system
 *  (see {@link ContextFs}) and an Amazon AWS S3 bucket (see {@link ContextS3}).
 *  <p>
 *
 *  An stored object is identified by a {@Loc}, which consists of a
 *  {@link Path} within a <tt>Context</tt>.<p>
 *
 *  The specification of a <tt>Context</tt> is implementation dependent.
 *  E.g. for {@link ContextS3}, it
 *  is an S3 bucket name.  For a local file system {@link ContextFS},
 *  it is the directory that contains the root of a tree of objects.
 *
 * @author Barnet Wagman
 */
public interface Context extends java.io.Serializable {

    static final long serialVersionUID = ConstantsOt.UID_VERSION;

    public boolean equals(Object other);
}
